package com.ciwong.epaper.util;

/**
 * 标示Intent值
 *
 * @author res-qqlin
 */
public class IntentValue {
    public static class SchemaCardValue {
        /**
         * 个人二维码
         */
        public static final int SCHEMA_CARD_PERSONAL = 0;

        /**
         * 班级二维码
         */
        public static final int SCHEMA_CARD_CLASS = 1;

        /**
         * 群组二维码
         */
        public static final int SCHEMA_CARD_GROUP = 2;

        /**
         * 讨论组二维码
         */
        public static final int SCHEMA_CARD_DISCUSS = 3;

        /**
         * 公众号二维码
         */
        public static final int SCHEMA_CARD_PUBLICNUM = 4;

        /**
         * 视频
         */
        public static final int SCHEMA_CARD_VIDEO = 5;

        /**
         * app下载
         */
        public static final int SCHEMA_CARD_APP_DOWN = 6;

        /**
         * 加入班级验证码
         */
        public static final int SCHEMA_CARD_JOIN_CLASS = 7;

        /**
         * 电子报二维码
         */
        public static final int SCHEMA_CARD_ELE_PAPER = 8;
    }

    /**
     * 选择学校类型
     */
    public static class ChooseSchoolType {
        /**
         * 选择学校类型:自动选择
         */
        public static final int CHOOSE_SCHOOL_TYPE_AUTO = 0;

        /**
         * 选择学校类型:手动选择
         */
        public static final int CHOOSE_SCHOOL_TYPE_MANUAL = 1;
    }

    /**
     * 跳转到加入班级界面来源
     */
    public static class JumpToJoinClassType {
        /**
         * 查看班级
         */
        public static final int TYPE_CHECK_CLASS_LIST = -1;

        /**
         * 从个人信息界面跳入
         */
        public static final int FROM_MY_INFO = 0;

        /**
         * 从班级列表跳入
         */
        public static final int FROM_CLASS_LIST = 1;


        /**
         * 加入班级
         */
        public static final int TYPE_JOIN_CLASS = 2;

        /**
         * 更换班级
         */
        public static final int TYPE_CHANGE_CLASS = 3;


    }

    /**
     * 选择服务类型
     */
    public static class ChooseServiceType {

        /**
         * 选择服务类型:默认
         */
        public static final int CHOOSE_SERVICE_TYPE_DEFAULT = 0;

        /**
         * 选择服务类型:登录界面
         */
        public static final int CHOOSE_SERVICE_TYPE_LOGIN = 1;

        /**
         * 选择服务类型:我界面
         */
        public static final int CHOOSE_SERVICE_TYPE_ME = 2;

    }

    /**
     * 修改用户信息类型
     */
    public static class ModifyUserInfoType {
        /**
         * 修改用户信息类型：头像
         */
        public static final int RESULT_MODIFY_AVATAR = 0;

        /**
         * 修改用户信息类型：姓名
         */
        public static final int RESULT_MODIFY_NAME = 1;

        /**
         * 修改用户信息类型：学校
         */
        public static final int RESULT_MODIFY_SCHOOL = 2;

        /**
         * 修改用户信息类型：班级
         */
        public static final int RESULT_MODIFY_CLASS = 3;
    }

    /**
     * 跳转到书籍目录类型
     */
    public static class JumpToBookCatalogType {

        /**
         * 默认
         */
        public static final int NORMAL = 0;
        /**
         * 来自添加书籍
         */
        public static final int FROM_ADD_BOOK = 1;
        /**
         * 来自购买服务
         */
        public static final int FROM_BUY_SERVICE = 2;

        /**
         * 来自扫描页面
         */
        public static final int FROM_SCAN = 3;
        /**
         * 来自搜索书籍
         */
        public static final int FROM_SEARCH_BOOK = 4;
        /**
         * 来自书桌
         */
        public static final int FROM_DESK_BOOK = 5;
        /**
         * 来自新书桌
         */
        public static final int FROM_NEW_DESK_BOOK = 6;
        /**
         * 来自购买服务中的书本列表
         */
        public static final int FROM_BUY_SERVICE_BOOKs = 7;
        /**
         * 来自资源中心 H5
         */
        public static final int FROM_RESOURCE_CENTER_H5 = 8;

        /**
         * 来自报听写
         */
        public static final int FROM_RESOURCE_CENTER_DICTATION = 8;

    }

    public static final int STATE_EXIT_BY_USER = 101;


    public static class JumpSelectVocabularyType {


        public static final int NORMAL = 0;

        /**
         * 来自改变计划
         */
        public static final int FROM_CHANGE_PLAN = 1;
    }

    public static class JumpWordPlanType {

        /**
         * 来自作业列表
         */
        public static final int FROM_HOMEWORK = 0;

        /**
         * 来自改变计划
         */
        public static final int FROM_CHANGE_PLAN = 1;
    }
}
